package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelContent;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface ITravelService {
    void saveOrUpdate(Travel travel);

    PageInfo<Travel> list(QueryObject qo);

    Travel selectById(Long id);

    void updateStateById(Travel travel);

    TravelContent getContentById(Long id);
}
